﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GuitarShop.Models;

namespace GuitarShop.Controllers.Home
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            HomeModels aHomeModels= new HomeModels();
            ViewBag.Slider = aHomeModels.GetSliderHome();
            ViewBag.About = aHomeModels.GetAboutHome();
            return View("Index", "_Layout");
        }
        public ActionResult Shop()
        {
            HomeModels aHomeModels = new HomeModels();
            return View("Index", "Shop");
        }

    }
}
